package com.lxb.store.service;

import com.lxb.store.entity.Goods;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface GoodsService {

    public Page<Goods> findAll(Pageable pageable);

    public Goods getByID(Integer id);

    public List<Goods> listGoodsTop(Integer size);

    public Page<Goods> searchGoods(Pageable pageable,String goodsname);
}
